/*
 * Copyright (c) [2012] - [2017] Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
package com.codenvy.plugin.webhooks.github.shared;

import org.eclipse.che.dto.shared.DTO;

@DTO
public interface Commit {
  String getId();

  void setId(final String id);

  Commit withId(final String id);

  boolean getDistinct();

  void setDistinct(final boolean distinct);

  Commit withDistinct(final boolean distinct);

  String getMessage();

  void setMessage(final String message);

  Commit withMessage(final String message);

  String getTimestamp();

  void setTimestamp(final String timestamp);

  Commit withTimestamp(final String timestamp);

  String getUrl();

  void setUrl(final String url);

  Commit withUrl(final String url);

  Author getAuthor();

  void setAuthor(final Author author);

  Commit withAuthor(final Author author);

  Committer getCommitter();

  void setCommitter(final Committer committer);

  Commit withCommitter(final Committer committer);
}
